package com.movitech.mobile.cz.base.sys.bizservice;

import com.movitech.mobile.cz.base.modules.controller.RestReturnResult;
import com.movitech.mobile.cz.base.sys.bizvo.UserChangeRequestVO;
import com.movitech.mobile.cz.base.sys.bizvo.UserRequestVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginAndPwdService {

	/***
	 * 采购外网平台登录
	 * @param userRequestVo
	 * @return
	 */
	public RestReturnResult restLogin(UserRequestVO userRequestVo, HttpServletResponse response, HttpServletRequest request);
	

	/***
	 * 采购外网平台忘记密码
	 * @param userRequestVo
	 * @return
	 */
	public RestReturnResult restFindPassword(UserRequestVO userRequestVo);

	/***
	 * 采购外网平台修改密码
	 * @param userRequestVo
	 * @return
	 */
	public RestReturnResult changePassword(HttpServletRequest request, HttpServletResponse response,UserChangeRequestVO userChangeRequestVO);

	/**
	 * 发送验证码
	 * @param phone
	 * @return
	 */
	public RestReturnResult sendSmsCode(String phone);

	/**
	 * 图片验证码
	 */
	public RestReturnResult getGraphicCode(HttpServletRequest req, HttpServletResponse resp,String phone);
	
}
